package com.bai.www;

public class Student {

//	private String name="jlk";
//	private int id=1;
//	private int age=300;
//	public String getName() {
//		return name;
//	}
//	public void setName(String name) {
//		this.name = name;
//	}
//	public int getId() {
//		return id;
//	}
//	public void setId(int id) {
//		this.id = id;
//	}
//	public int getAge() {
//		return age;
//	}
//	public void setAge(int age) {
//		this.age = age;
//	}
//	public void myPrint()
//	{
//		System.out.println(this.id+"   "+this.name+"   "+this.age);
//	}
	private String student_name;
	private int student_id;
	public String getStudent_name() {
		return student_name;
	}
	public void setStudent_name(String student_name) {
		this.student_name = student_name;
	}
	public int getStudent_id() {
		return student_id;
	}
	public void setStudent_id(int student_id) {
		this.student_id = student_id;
	}
	Student(String name,int id){
		this.student_id=id;
		this.student_name=name;
	}
	public void myPrint() {
		System.out.print(this.student_id+" "+this.student_name+"  ");
	}
}
